/**
 * 安卓白金英雄坛制作组 <br>
 * 文件名：BattleMessage.java <br>
 * 创建时间：2015年4月29日 下午1:39:57 <br>
 * 所属项目：GmudEX <br>
 * @author 12548
 */
package lostland.gmud.exv2.battle.netbattle;

import java.io.Serializable;

/**
 * 类名：BattleMessage <br>
 * 说明：
 *
 * @author 12548
 */
public class BattleMessage implements Serializable {

	private static final long serialVersionUID = 1274107879125675666L;
	public static final int TYPE_HOST = 0;
	public static final int TYPE_JOIN = 1;
	public static final int TYPE_START = 2;
	public static final int TYPE_HOST_MSG = 3;
	public static final int TYPE_HOST_UPDATEINFO = 4;
	public static final int TYPE_CLIENT_ACTION = 5;
	public static final int TYPE_FINISH = 6;

	private String arena = "";


	private int id = -1;
	private long uptime = -1;

	private int type = -1;
	private int numtag = -1;

	private int infoUpdate = -1;
	private int updateValue = -1;

	/**
	 * @return arena
	 */
	public String getArena() {
		return arena;
	}

	/**
	 * @param arena 要设置的 arena
	 */
	public void setArena(String arena) {
		this.arena = arena;
	}

	/**
	 * @return id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id 要设置的 id
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return uptime
	 */
	public long getUptime() {
		return uptime;
	}

	/**
	 * @param uptime 要设置的 uptime
	 */
	public void setUptime(long uptime) {
		this.uptime = uptime;
	}

	/**
	 * @return type
	 */
	public int getType() {
		return type;
	}

	/**
	 * @param type 要设置的 type
	 */
	public void setType(int type) {
		this.type = type;
	}

	/**
	 * @return numtag
	 */
	public int getNumtag() {
		return numtag;
	}

	/**
	 * @param numtag 要设置的 numtag
	 */
	public void setNumtag(int numtag) {
		this.numtag = numtag;
	}

	/**
	 * @return msg
	 */
	public String getMsg() {
		return msg;
	}

	/**
	 * @param msg 要设置的 msg
	 */
	public void setMsg(String msg) {
		this.msg = msg;
	}

	/**
	 * @return tag
	 */
	public String getTag() {
		return tag;
	}

	/**
	 * @param tag 要设置的 tag
	 */
	public void setTag(String tag) {
		this.tag = tag;
	}

	public int getInfoUpdate() {
		return infoUpdate;
	}

	public void setInfoUpdate(int infoUpdate) {
		this.infoUpdate = infoUpdate;
	}

	public int getUpdateValue() {
		return updateValue;
	}

	public void setUpdateValue(int updateValue) {
		this.updateValue = updateValue;
	}

	private String msg = "";
	private String tag = "";

}
